EXECUTABLE = `pwd | xargs basename`
CXX = g++4
CXXFLAGS = -Wall -march=core2 -O3 -pipe -pthread
LD_FLAGS = -Wl,--eh-frame-hdr
	
SRCS = main.cpp rpn.cpp
INCS =         rpn.h
	
rpn: $(SRCS) $(INCS)
	$(CXX) $(CXXFLAGS) $(LD_FLAGS) $(SRCS) -o rpn -static
	
clean:
	rm -f rpn
